from django.shortcuts import render

# Create your views here.

from django.shortcuts import render
from .models import Post


def index(request):
    context = { 'news_list': Post.objects.all() }

    # return HttpResponse('xxx')
    return render(request, 'news/index.html', context=context)


def spa(request):
    return render(request, 'spa/index.html')
